#pragma once
//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#pragma pack(push) 
#pragma pack(1)
class PktSound : public VxPktHdr
{
public:
	PktSound()
	{
		m_u16PktLen = sizeof( PktSound );
		m_u16PktType = PKT_TYPE_SOUND;
	}
	U8	u8Action;	// 0=play once, 1=loop
	U8	u8SndType;	// 0=snd effect, 1=midi
	U16 u16X;		// x pos of sound / 128
	U16 u16Y;		// y pos of sound / 128
	U32 u32SoundId;	// id of sound
};
#pragma pack(pop)
